<?php
/**
* Module Smooth Gallery For Joomla 1.5.x
* Versi			: 1.1
* Created by	: Reza Erauansyah, Rony Sandra Yofa Zebua And Camp26.Biz Team
* Email			: old_smu17@yahoo.com
* Created on	: 19 March 2008
* Las Modified 	: 12 November
* 
* URL			: www.camp26.biz
* License GPLv2.0 - http://www.gnu.org/licenses/gpl-2.0.html
* Based on jquery(http://www.jquery.com) and interface element (http://interface.eyecon.ro)
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

class listlink
{
	static function loadListLink($params)
	{   		
//image_status
	$list=array();
        $image_status=array();
		$fullimage_image_url=array();
        $thumnail_image_url=array();
		$url_forwad=array();
		$image_title=array();

		$image_status[0]['image_status']=$params->get('image_status1',null);
		$image_status[1]['image_status']=$params->get('image_status2',null);
		$image_status[2]['image_status']=$params->get('image_status3',null);
		$image_status[3]['image_status']=$params->get('image_status4',null);

//fullimage_image_url
		$fullimage_image_url[0]['fullimage_image_url']=$params->get('fullimage_image_url1',null);
		$fullimage_image_url[1]['fullimage_image_url']=$params->get('fullimage_image_url2',null);
		$fullimage_image_url[2]['fullimage_image_url']=$params->get('fullimage_image_url3',null);
		$fullimage_image_url[3]['fullimage_image_url']=$params->get('fullimage_image_url4',null);
//thumnail_image_url
		$thumnail_image_url[0]['thumnail_image_url']=$params->get('thumnail_image_url1',null);
		$thumnail_image_url[1]['thumnail_image_url']=$params->get('thumnail_image_url2',null);
		$thumnail_image_url[2]['thumnail_image_url']=$params->get('thumnail_image_url3',null);
		$thumnail_image_url[3]['thumnail_image_url']=$params->get('thumnail_image_url4',null);

//url_forwad
		$url_forwad[0]['url_forwad']=$params->get('image_url_forwad1',null);
		$url_forwad[1]['url_forwad']=$params->get('image_url_forwad2',null);
		$url_forwad[2]['url_forwad']=$params->get('image_url_forwad3',null);
		$url_forwad[3]['url_forwad']=$params->get('image_url_forwad4',null);
                   
//image_title
                $image_title[0]['image_title']=$params->get('image_title1',null);
				$image_title[1]['image_title']=$params->get('image_title2',null);
				$image_title[2]['image_title']=$params->get('image_title3',null);
				$image_title[3]['image_title']=$params->get('image_title4',null);

				$list[0]=$image_status;
                $list[1]=$fullimage_image_url;
				$list[2]=$thumnail_image_url;				
                $list[3]=$url_forwad;
                $list[4]=$image_title;
                return $list;
	}
}

?>